import request from '@/utils/request'
// 增加一条反馈
 export function addfeedback(data){
	  return request({
		  url:'/feedback/add',
		  method:'POST',
		  data
	  })
 }
 
//查看反馈历史
 export function feedbackHistory(data){
	 console.log(data);
	  return request({
		  url:'/feedback/list',
		  method:'GET',
		  params:data
	   })
 }

//根据id删除反馈历史
export function deleteFeedback(id){
	 return request({
		 url:'/feedback/'+id,
		 method:'DELETE'
	 })
}
 
 

 


